﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.ModelForJD
{
    /// <summary>
    /// 查询商品分类
    /// </summary>
    public class GoodsCategoryForJD
    {
        /// <summary>
        /// 返回标识
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 返回描述
        /// </summary>
        public string resultMessage { get; set; }
        /// <summary>
        /// 返回编码
        /// </summary>
        public string resultCode { get; set; }
        /// <summary>
        /// 商品分类详情集合
        /// </summary>
        public GoodsCategoryDetailsForJD result { get; set; }
    }
    /// <summary>
    /// 查询商品分类详情
    /// </summary>
    public class GoodsCategoryDetailsForJD
    {
        /// <summary>
        /// 分类ID
        /// </summary>
        public int catId { get; set; }
        /// <summary>
        /// 父分类ID
        /// </summary>
        public int parentId { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 0：一级分类；1：二级分类；2：三级分类；
        /// </summary>
        public string catClass { get; set; }
        /// <summary>
        /// 1：有效；0：无效；
        /// </summary>
        public int state { get; set; }
    }
}
